---
title: Google
description: Common questions about Google provider
---

## How do I set the Google Gemini thinking budget?

The latest Google Gemini models have a configurable [thinking budget](https://ai.google.dev/gemini-api/docs/thinking) that allows you to control the amount of time the model spends reasoning to generate a response.

```markdown {4-5}
---
provider: name-of-your-google-provider-in-latitude
model: gemini-2.5-flash
thinkingConfig:
  thinkingBudget: 2048
---
```

## How do I set the Google Gemini safety settings?

The [Google Gemini safety settings](https://ai.google.dev/gemini-api/docs/safety-settings) are opt-in configurations that provide a first layer of security for your prompts.

To do this, add `safetySettings: list-of-safety-settings` to the `google` config in the front matter of your prompt.

```markdown {4-8}
---
provider: name-of-your-google-provider-in-latitude
model: gemini-1.5-flash
safetySettings:
  - category: HARM_CATEGORY_HATE_SPEECH
    threshold: BLOCK_LOW_AND_ABOVE
  - category: HARM_CATEGORY_DANGEROUS_CONTENT
    threshold: BLOCK_MEDIUM_AND_ABOVE
---
```
